home *** CD-ROM | disk | FTP | other *** search
- Subject: Q: Twist List
- Sent: 6/11/96 1:38 PM
- Received: 6/11/96 12:41 PM
- From: Bernie Wieser, octavian@agt.net
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
-
- I'm getting rather confused about how to implement a twist down list that
- supports drag and drop in ODF.
-
- The first question I had was about the best way to implement a twist down
- list...
-
- I can't make one from "light weight" views since you are not allowed to
- have
- controls in them. The twist down list requires a scroll bar. (The text
- box in ODF Form has a scroll bar but this is not part of the edit text
- control.)
-
- So it needs to be derived from FW_CView and FW_CNotifier. I would override
- draw, event, and archive methods.
-
- However, the ODF documentation recommends that for parts that provide
- selections, a content object be provided for everything selectable. For a
- list, each element in the list would require a content object. There would
- also be corresponding selection object. These are attached to the frame,
- and the view is not a frame. Then there is all the magic to support drag
- and drop.
-
- It looks like such a control like a twist down list could not be
- implemented as a view. It would require being a full blown part (as
- comprehensive as ODFDraw) to support drag and drop.
-
- Is this a correct assessment?
-